<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MVVM模型</title>
</head>
<body>
    <script src="../vue@2.6.14.min.js"></script>
    <div id="app">
        <h3>
            我是{{name}},我{{age}}岁了。
        </h3>
    </div>
    <script>
        const vm = new Vue({
            el: '#app',
            data() {
                return {
                    name: 'dilireba',
                    age: 18
                }
            }
        })
    </script>
</body>
</html>